package com.ptszyxx.popose.module.chat.push;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import com.ptszyxx.popose.module.chat.utils.TUIUtils;
import com.tencent.qcloud.tuicore.TUIConstants;

public class OfflinePushLocalReceiver extends BroadcastReceiver {
    public static final String TAG = OfflinePushLocalReceiver.class.getSimpleName();

    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent != null) {
            String ext = intent.getStringExtra(TUIConstants.TUIOfflinePush.NOTIFICATION_EXT_KEY);
            TUIUtils.handleOfflinePush(ext, null);
        } else {
        }
    }
}
